package com.shiku.im.room.service;

import com.shiku.im.repository.IMongoDAO;
import com.shiku.im.room.entity.RoomChanceSettings;
import com.shiku.im.user.entity.UserChanceSettings;

public interface RoomChanceSettingsService extends IMongoDAO<RoomChanceSettings, String> {

    RoomChanceSettings getSettingsByJid(String jid);

    UserChanceSettings getDefaultSettings();

    void addOrUpdateSettings(String jid, String str, Float bigStart, String bigStr);

    void addOrUpdateSettingsToAll(String str, Float bigStart, String bigStr);

    RoomChanceSettings init(String jid);
}
